/** 
 * ---------------------------------------------------------------------------------------------------------------
 * @Copyright	Quadrangle Systems Inc.
 * @Title		JsonResponseHangler.java   
 * @author 		Peak Zhang
 * @date 		2014-07-11
 * @Description: 
 *				Convert string(html) to json formatted
 *				This class can be extended or rewrite to implement the functionality that parse data from html
 * ---------------------------------------------------------------------------------------------------------------
 */ 
package com.qs.education.bean.http;

public class JsonResponseHandler implements ResponseHandler {

	public Object handle(Object responseObj) {
		
		return responseObj;
	}

	public boolean accept(Object responseObj) {
		if(responseObj instanceof String){
			return true;
		}
		return false;
	}
}
